package ma.moliere.transverse.utils;

import ma.moliere.persistance.oe.NotessaisienormalePremiere;
import ma.moliere.transverse.vo.NotessaisienormalePremiereAffichee;

public final class NotePremiereUtil {

	public  NotePremiereUtil(){
		
	}
	public static NotessaisienormalePremiereAffichee copieOeVersVo(NotessaisienormalePremiere source){
		if (source == null) {
			return null;
		}
		NotessaisienormalePremiereAffichee destination = new NotessaisienormalePremiereAffichee();
		destination.setId(source.getId());
		destination.setMatricule(source.getMatricule());
		destination.setNom(source.getNom());
		destination.setPrenom(source.getPrenom());
		destination.setAnneescolaire(source.getAnneescolaire());
		destination.setAppreciationarabe(source.getAppreciationarabe());
		destination.setAppreciationeducationph(source.getAppreciationeducationph());
		destination.setAppreciationFr(source.getAppreciationFr());
		destination.setAppreciationmath(source.getAppreciationmath());
		destination.setAttitude(source.getAttitude());
		destination.setClasse(source.getClasse());
		destination.setCopie(source.getCopie());
		destination.setCoran(source.getCoran());
		destination.setDatesaisie(source.getDatesaisie());
		destination.setDictee(source.getDictee());
		destination.setDicteearabe(source.getDicteearabe());
		destination.setEcriture(source.getEcriture());
		destination.setEcritureetcopiearabe(source.getEcritureetcopiearabe());
		destination.setEducationislamique(source.getEducationislamique());
		destination.setEducationPhysique(source.getEducationPhysique());
		destination.setEvaluation(source.getEvaluation());
		destination.setExercicesEcrits(source.getExercicesEcrits());
		destination.setExpressionoralar(source.getExpressionoralar());
		destination.setExpressionOrale(source.getExpressionOrale());
		destination.setGroupe(source.getGroupe());
		destination.setLecture(source.getLecture());
		destination.setLecturerecitationarabe(source.getLecturerecitationarabe());
		destination.setMaths(source.getMaths());
		destination.setRecitation(source.getRecitation());
		destination.setSemestre(source.getSemestre());
		destination.setSiencearabe(source.getSiencearabe());
		destination.setSira(source.getSira());
		destination.setTarbiafania(source.getTarbiafania());
		
		return destination;
	}
	public static NotessaisienormalePremiere copieVoVersOe(NotessaisienormalePremiereAffichee source){
		if (source == null) {
			return null;
		}
		NotessaisienormalePremiere destination = new NotessaisienormalePremiere();
		destination.setId(source.getId());
		destination.setMatricule(source.getMatricule());
		destination.setNom(source.getNom());
		destination.setPrenom(source.getPrenom());
		destination.setAnneescolaire(source.getAnneescolaire());
		destination.setAppreciationarabe(source.getAppreciationarabe());
		destination.setAppreciationeducationph(source.getAppreciationeducationph());
		destination.setAppreciationFr(source.getAppreciationFr());
		destination.setAppreciationmath(source.getAppreciationmath());
		destination.setAttitude(source.getAttitude());
		destination.setClasse(source.getClasse());
		destination.setCopie(source.getCopie());
		destination.setCoran(source.getCoran());
		destination.setDatesaisie(source.getDatesaisie());
		destination.setDictee(source.getDictee());
		destination.setDicteearabe(source.getDicteearabe());
		destination.setEcriture(source.getEcriture());
		destination.setEcritureetcopiearabe(source.getEcritureetcopiearabe());
		destination.setEducationislamique(source.getEducationislamique());
		destination.setEducationPhysique(source.getEducationPhysique());
		destination.setEvaluation(source.getEvaluation());
		destination.setExercicesEcrits(source.getExercicesEcrits());
		destination.setExpressionoralar(source.getExpressionoralar());
		destination.setExpressionOrale(source.getExpressionOrale());
		destination.setGroupe(source.getGroupe());
		destination.setLecture(source.getLecture());
		destination.setLecturerecitationarabe(source.getLecturerecitationarabe());
		destination.setMaths(source.getMaths());
		destination.setRecitation(source.getRecitation());
		destination.setSemestre(source.getSemestre());
		destination.setSiencearabe(source.getSiencearabe());
		destination.setSira(source.getSira());
		destination.setTarbiafania(source.getTarbiafania());
		
		return destination;
	}
}
